package com.example.everying.service.order;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.everying.model.dto.order.OrderInfoEntityDto;
import com.example.everying.model.dto.order.OrderInfoPageDto;
import com.example.everying.model.dto.order.OrderUpdateDto;
import org.springframework.transaction.annotation.Transactional;

//public interface OrderInfoService extends IService<OrderInfoEntity> {
//    @Transactional(rollbackFor = Exception.class)
//    boolean createOrder(OrderInfoEntityDto orderInfoEntityDto);
//
//    @Transactional(rollbackFor = Exception.class)
//    boolean updateOrder(OrderUpdateDto updateDto);
//
//    IPage<OrderInfoEntity> selectPage(Page<OrderInfoEntity> pageParam, OrderInfoPageDto dto);
//}
